package Ventanas.Listeners;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import javax.swing.JFrame;
import javax.swing.JList;

import Negocio.Libro;

public class ListenerRatonImagen extends MouseAdapter {
	JFrame ventanaFotoGrande;
	JList listaLibros;

	public ListenerRatonImagen(JFrame ventanaFotoGrande, JList listaLibros) {
		super();
		this.ventanaFotoGrande = ventanaFotoGrande;
		this.listaLibros = listaLibros;
	}



	

	@Override
	public void mouseEntered(MouseEvent e) {
		ventanaFotoGrande.setVisible(true);

	}

	@Override
	public void mouseExited(MouseEvent arg0) {
		ventanaFotoGrande.setVisible(false);

	}



	@Override
	public void mousePressed(MouseEvent arg0) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mouseReleased(MouseEvent arg0) {
		// TODO Auto-generated method stub

	}

}
